﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WCS_Entity.AutoQeuipment;
using WCS_Entity.Dto.AutoEquipmentDto;
using WCS_Entity.User;

namespace WCS_Service.Interface
{
    /// <summary>
    /// 自动化设备管理服务接口
    /// </summary>
    public interface IAutoEquipmentService : IBaseService<AutoEquipmentsEntity>
    {
        #region 管理
        Task<AutoEquipmentDto> CreateAutoEquipmentAsync(CreateAutoEquipmentDto dto);
        Task<AutoEquipmentDto> UpdateAutoEquipmentAsync(UpdateAutoEquipmentDto dto);
        Task<AutoEquipmentDto> QueryAutoEquipmentAsync(int id);
        Task<List<AutoEquipmentDto>> QueryAllAutoEquipmentAsync();
        Task<List<AutoEquipmentDto>> QueryAutoEquipmentBaseTypeAsync(string type);
        Task<bool> DeleteAutoEquipment(int id);
        #endregion

        #region 查询支持自动化设备
        Task<Dictionary<string, string>> QueryAutoEquipmentTypeAsync();
        Task<List<string>> QueryAutoEquipmentComTypeAsync();
        #endregion
    }
}
